package com.xb.system.service;


import com.xb.model.domain.entity.Userinfo;
import com.xb.model.domain.vo.LoginResponseVO;
import com.xb.system.common.result.Result;

public interface UserService {
    Userinfo findByPhone(String phone);
    void saveUser(Userinfo userInfo);
    Result<LoginResponseVO> loginByCaptcha(String phone, String captcha, String inviterId);
    Result<LoginResponseVO> loginByPassword(String phone, String password);
    void setPassword(String phone, String password);
    String generateCaptcha(String phone);
}